package com.xiaozhen.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaozhen.app.dao.SysAppDao;
import com.xiaozhen.app.service.SysAppService;
import com.xiaozhen.common.core.domain.app.SysApp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ： 甄维胜
 * @createTime ：2021/9/26 18:45
 * HISTORY :
 */
@Service
public class SysAppServiceImpl implements SysAppService {

    @Autowired
    private SysAppDao sysAppDao;

    @Override
    public Page<SysApp> selectAppList(Page<SysApp> page) {
        QueryWrapper<SysApp> queryWrapper = new QueryWrapper<>();
        Page<SysApp> list = sysAppDao.selectPage(page, queryWrapper);
        return list;
    }
}
